package com.mlk.sign.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.mlk.sign.po.EngSign;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * 签到mapper
 */
@Mapper
public interface EngSignMapper extends BaseMapper<EngSign> {

    int findIsSign(String openId);

    int selectCountInDays(@Param("lists") List<String> daysStr,@Param("openId") String openId);

    int getTotalSignDays(String openId);

    List<Date> querylastDaysSignInfo(String openId);
}
